﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>计算两日期时间间隔</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="text-align: center">
            <div>
                <div style="text-align: center">
                    <table style="background-image: url(image/background.gif); width: 698px">
                        <tr>
                            <td colspan="6">
                                <asp:Image ID="Image1" runat="server" ImageUrl="~/image/head.gif" /></td>
                        </tr>
                        <tr>
                            <td align="right" rowspan="12" style="width: 34px">
                                <asp:Image ID="Image3" runat="server" ImageUrl="~/image/list.gif" /></td>
                            <td colspan="5" style="height: 3px" valign="top">
                                <asp:Image ID="Image4" runat="server" ImageUrl="~/image/neirong.gif" /></td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                                <asp:Label ID="Label1" runat="server" Font-Size="Smaller" Text="当前系统时间：" Width="99px"></asp:Label></td>
                            <td style="width: 100px">
                                <asp:TextBox ID="TxtNowTime" runat="server" Font-Bold="True" ForeColor="Red" Width="113px"></asp:TextBox></td>
                            <td style="width: 100px">
                                <asp:Label ID="Label2" runat="server" Font-Size="Smaller" Text="上次发信时间：" Width="105px"></asp:Label></td>
                            <td style="width: 100px">
                                <asp:TextBox ID="TxtNewTime" runat="server" Font-Bold="True" ForeColor="Red" Width="111px"></asp:TextBox></td>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                            <td style="width: 100px">
                                <asp:Label ID="LblInterval" runat="server" Font-Size="Smaller" Text="时间间隔："></asp:Label></td>
                            <td style="width: 100px">
                                <asp:TextBox ID="TxtInterval" runat="server" Font-Bold="True" ForeColor="Red" Width="113px"></asp:TextBox></td>
                            <td style="width: 100px">
                                <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Text="计算" Width="41px" /></td>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" rowspan="9" valign="top">
                            </td>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px; height: 21px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px; height: 21px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px; height: 21px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <asp:Image ID="Image2" runat="server" ImageUrl="~/image/foot.gif" /></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>
